You are here: Scripting examples > Using variables to pause a target

Using variables to pause a target

The following script uses variables to identify the target and credentials to login to that target. These variables are then used in the scripting commands to pause the target.

$TheTarget = "beta";

$TheUser = "admin";

$ThePassword = "password";

$TheDomain = "domain.com";

login $TheTarget $TheUser $ThePassword $TheDomain;

target $TheTarget;

pausetarget $TheTarget;